import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './action'
import getters from './getters'

Vue.use(Vuex)

const state = {
	list: {
		isFetching: false,
		data: [
	    	{id: 0},
	    	{id: 1},
		]
	},
}

export default new Vuex.Store({
	state,
	getters,
	actions,
	mutations,
})